#ifndef CALCULATOR_H_
#define CALCULATOR_H_

#include "Object.h"

#include <string>

using namespace std;

class Calculator : public Object  {
public:
	static int getPrioritaire( char c );
	static double calculate( double a, double b, char operation );
	static double calculate( const char* f, double v );
	static void change() { sign = sign * -1; };
	static int sign;

	string toString() { return "Calculator"; }
};

#endif
